// 用户权限可用路由
export default [
    {
        path: "",
        name: "default",
        component: ()=>import('@/views/home/index.vue'),
        children:[
            {
                path: "",
                name: "home",
                component: ()=>import("@/views/home/home.vue")
            },
            // 病人信息
            {
                path: "/patient-info",
                name: "patient-info",
                component: ()=>import("@/views/patient/patient-info.vue")
            },
            // 病人检查项目管理
            {
                path: "/patient-project",
                name: "patient-project",
                component: ()=>import("@/views/patient/patient-project.vue")
            },
            // 病人处方管理
            {
                path: "/patient-prescription",
                name: "patient-prescription",
                component: ()=>import("@/views/patient/patient-prescription.vue")
            },
            // 病人病历信息管理
            {
                path: "/patient-record",
                name: "patient-record",
                component: ()=>import("@/views/patient/patient-record.vue")
            },

            // 人员管理
            {
                path: "/people-manager",
                name: "people-manager",
                component: ()=>import("@/views/people/people-manager.vue")
            },
            //权限管理
            {
                name: "access-manager",
                path: "/access-manager",
                component: ()=>import("@/views/people/access-manager.vue")
            },
            // 系统人员信息
            {
                name: "system-people",
                path: "/system-people",
                component: ()=>import("@/views/people/system-people.vue")
            },
            {
                name: "login",
                path: "/login",
                component: ()=>import("@/views/login/login.vue")
            },
            {
                name: "userInfo",
                path: "/userInfo",
                component: ()=>import("@/views/people/person-info.vue")
            },
            {
                name: "register",
                path: "/register",
                component: ()=>import("@/views/login/register.vue")
            },
            {
                name: "registerSuperUser",
                path: "/registerSuperUser",
                component: ()=>import("@/views/login/registerSuperUser.vue")
            },
            // 其他
            {
                path: "/about",
                name: "about",
                component: ()=>import("@/views/about/about.vue")
            },
        ]
    },
    {
        path: "/index",
        name: "index",
        component: ()=>import('@/views/home/index.vue'),
    },

    

    
]